<#list categories.content as cont>
    <#if categories.content?exists && (categories.content?size == 0)>
        <a>当前没有目录</a>
    </#if>
    <div class="post animated fadeInDown">
        <details>
            <summary href="${cont.category.fullPath!}">${cont.category.name}</summary>
            <#if cont.children?exists && (cont.children?size > 0)>
                <#list cont.children as child>
                    <div class="post animated fadeInDown">
                        <a href="${child.fullPath!}">${child.name}</a>
                    </div>
                </#list>
            </#if>
        </details>
    </div>
</#list>
